import http from '@/request/http';

// 写文章
export function articleMake(data) {
  return http({
    url: '/bbs/article/make',
    data: data,
  })
}

// 获取文章信息
export function articleGet(id) {
  return http({
    url: '/bbs/article/get',
    data: {"id": id},
  })
}

// 获取文章列表
export function articleList(selectParam, page) {
  return http({
    url: '/bbs/article/list',
    data: Object.assign({},selectParam, page),
  })
}